﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using Public;
using System.Data;

namespace BUS
{
    public class NhomKHNCC_BUS
    {
        NhomKHNCC_DAL nhom_dal = new NhomKHNCC_DAL();
        public DataTable LayDSKHNCC()
        {
            return nhom_dal.LayDSKHNCC();
        }
        public int ThemSuaNhomKHNCC(NhomKHNCC_PB nhom_pb)
        {
            return nhom_dal.ThemSuaDSKHNCC(nhom_pb);
        }
        
        public int XoaNhomKHNCC(NhomKHNCC_PB nhom_pb)
        {
            return nhom_dal.XoaDSKHNCC(nhom_pb);
        }
        public int XoaNhomKHNCC(string ma)
        {
            return nhom_dal.XoaDSKHNCC(ma);
        }
        public bool Exists(string ma)
        {
            return nhom_dal.Exists(ma);
        }
    }
}
